package com.ruoyi.recycle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.recycle.domain.HousekeepingCommodity;

import java.util.List;

/**
 * 家政服务列Service接口
 *
 * @author ruoyi
 * @date 2022-05-22
 */
public interface IHousekeepingCommodityService extends IService<HousekeepingCommodity> {
    /**
     * 查询家政服务列
     *
     * @param id 家政服务列主键
     * @return 家政服务列
     */
    public HousekeepingCommodity selectHousekeepingCommodityById(Long id);

    /**
     * 查询家政服务列列表
     *
     * @param housekeepingCommodity 家政服务列
     * @return 家政服务列集合
     */
    public List<HousekeepingCommodity> selectHousekeepingCommodityList(HousekeepingCommodity housekeepingCommodity);

    /**
     * 新增家政服务列
     *
     * @param housekeepingCommodity 家政服务列
     * @return 结果
     */
    public int insertHousekeepingCommodity(HousekeepingCommodity housekeepingCommodity);

    /**
     * 修改家政服务列
     *
     * @param housekeepingCommodity 家政服务列
     * @return 结果
     */
    public int updateHousekeepingCommodity(HousekeepingCommodity housekeepingCommodity);

    /**
     * 批量删除家政服务列
     *
     * @param ids 需要删除的家政服务列主键集合
     * @return 结果
     */
    public int deleteHousekeepingCommodityByIds(Long[] ids);

    /**
     * 删除家政服务列信息
     *
     * @param id 家政服务列主键
     * @return 结果
     */
    public int deleteHousekeepingCommodityById(Long id);
}
